﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using yunbo.Model.BIP;
using yunbo.Repositorys.BIPRepositorys;

namespace yunbo.Controllers.BIPControllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class GY_GXController : ControllerBase
    {
        GY_GXRepository gY_GXRepository=new GY_GXRepository();
        /// <summary>
        /// 查询工序
        /// </summary>
        /// <returns></returns>
        [HttpGet("GetMbd_GX")]
        public IActionResult GetMbd_GX(string code)
        {
            List<GY_GX> gX_Gies= gY_GXRepository.GetGY_GX(code);
            return Ok(gX_Gies);
        }
    }
}
